package com.funtl.hello.spring.cloud.alibaba.nacos.consumer.feign.service;

/**
 * @author java43.熊佳
 * @date 2020/8/14 20:42
 * @Description
 */
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "nacos-provider")
public interface EchoService {

    @GetMapping(value = "/echo/{message}")
    String echo(@PathVariable("message") String message);
}
